home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacOS Resource Fork
(archive/rsrc).
You can browse this item here: histogram..rsrc.rsrc
id metadata |
---|
key | value |
---|
macFileType | [rsrc] |
macFileCreator | [RSED] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 00 |.2... ..|.....R..|
|00000030| 03 43 72 73 72 63 52 53 | 45 44 01 00 00 00 00 00 |.CrsrcRS|ED......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 00 | 03 05 00 00 02 05 00 00 |........|........|
|00000060| 00 3e 44 01 67 56 39 47 | 57 5b 50 02 05 8a 3c 1f |.>D.gV9G|W[P...<.|
|00000070| e1 b8 20 24 50 03 06 62 | 4a 5f 66 32 e1 e5 01 01 |.. $P..b|J_f2....|
|00000080| fc 32 0f 68 69 73 74 6f | 67 72 61 6d 2e 2e 72 73 |.2.histo|gram..rs|
|00000090| 72 63 02 00 00 00 72 73 | 72 63 52 53 45 44 01 00 |rc....rs|rcRSED..|
|000000a0| 00 00 00 00 72 73 72 63 | 52 53 45 44 01 00 00 00 |....rsrc|RSED....|
|000000b0| 00 80 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 aa 1f e9 1d | 00 00 00 00 00 00 03 43 |........|.......C|
|000000d0| 22 2b 20 20 e1 01 a9 af | 38 01 f9 a8 be 03 3b 7c |"+ ....|8.....;||
|000000e0| ff d5 f9 a8 20 2a f0 02 | 3d 6d f9 a8 4f 55 14 2b |.... *..|=m..OU.+|
|000000f0| 40 f9 40 4a ad f9 40 01 | 67 26 f3 20 0a 13 70 05 |@.@J..@.|g&. ..p.|
|00000100| b0 68 00 0e 01 6c 18 59 | 4d 01 10 bc 66 12 2f 2d |.h...l.Y|M...f./-|
|00000110| f9 40 01 a9 a3 ce 4f 55 | 20 2d 80 01 00 82 f3 20 |.@....OU| -..... |
|00000120| 0a 20 2e 01 6f 68 20 2f | 13 70 24 2f 00 4e ad 01 |. ..oh /|.p$/.N..|
|00000130| 04 f2 f3 03 f9 40 28 50 | 70 03 12 b0 6c 00 0e 02 |.....@(P|p...l...|
|00000140| 6f 14 30 2c 6f 02 e9 40 | 39 40 6f 01 30 2c 74 02 |o.0,o..@|9@o.0,t.|
|00000150| e9 40 00 00 02 01 2d 2d | 20 68 69 73 74 6f 67 72 |.@....--| histogr|
|00000160| 61 6d 28 61 72 72 2c 6c | 6f 2c 68 69 2c 6e 62 69 |am(arr,l|o,hi,nbi|
|00000170| 6e 73 29 0d 0d 2d 2d 20 | 41 63 63 75 6d 75 6c 61 |ns)..-- |Accumula|
|00000180| 74 65 73 20 61 20 68 69 | 73 74 6f 67 72 61 6d 20 |tes a hi|stogram |
|00000190| 6f 66 20 74 68 65 20 76 | 61 6c 75 65 73 20 69 6e |of the v|alues in|
|000001a0| 20 61 72 72 61 79 20 27 | 61 72 72 27 2e 20 50 61 | array '|arr'. Pa|
|000001b0| 72 61 6d 65 74 65 72 73 | 20 27 6c 6f 27 20 61 6e |rameters| 'lo' an|
|000001c0| 64 20 27 68 69 27 20 67 | 69 76 65 20 74 68 65 20 |d 'hi' g|ive the |
|000001d0| 72 61 6e 67 65 20 6f 66 | 20 69 6e 74 65 72 65 73 |range of| interes|
|000001e0| 74 2e 20 50 61 72 61 6d | 65 74 65 72 20 6e 62 69 |t. Param|eter nbi|
|000001f0| 6e 73 20 74 65 6c 6c 20 | 68 6f 77 20 6d 61 6e 79 |ns tell |how many|
|00000200| 20 62 69 6e 73 20 74 6f | 20 64 69 76 69 64 65 20 | bins to| divide |
|00000210| 74 68 65 20 72 61 6e 67 | 65 20 69 6e 74 6f 2e 0d |the rang|e into..|
|00000220| 2d 2d 20 68 69 73 74 6f | 67 72 61 6d 28 29 20 72 |-- histo|gram() r|
|00000230| 65 74 75 72 6e 73 20 74 | 68 65 20 6e 75 6d 62 65 |eturns t|he numbe|
|00000240| 72 20 6f 66 20 70 6f 69 | 6e 74 73 20 74 68 61 74 |r of poi|nts that|
|00000250| 20 66 65 6c 6c 20 77 69 | 74 68 69 6e 20 74 68 65 | fell wi|thin the|
|00000260| 20 72 61 6e 67 65 2e 0d | 2d 2d 20 47 6c 6f 62 61 | range..|-- Globa|
|00000270| 6c 20 76 61 72 69 61 62 | 6c 65 20 27 62 69 6e 73 |l variab|le 'bins|
|00000280| 27 20 69 73 20 73 65 74 | 20 74 6f 20 74 68 65 20 |' is set| to the |
|00000290| 68 69 73 74 6f 67 72 61 | 6d 20 61 72 72 61 79 2e |histogra|m array.|
|000002a0| 0d 2d 2d 20 47 6c 6f 62 | 61 6c 20 76 61 72 69 61 |.-- Glob|al varia|
|000002b0| 62 6c 65 20 27 6d 65 61 | 6e 27 20 69 73 20 73 65 |ble 'mea|n' is se|
|000002c0| 74 20 74 6f 20 74 68 65 | 20 6d 65 61 6e 20 6f 66 |t to the| mean of|
|000002d0| 20 76 61 6c 75 65 73 20 | 77 69 74 68 69 6e 20 74 | values |within t|
|000002e0| 68 65 20 72 61 6e 67 65 | 2e 0d 0d 61 3d 7b 31 2c |he range|...a={1,|
|000002f0| 32 2c 33 2c 32 2c 34 2c | 34 2c 34 2c 35 2c 33 2c |2,3,2,4,|4,4,5,3,|
|00000300| 36 2c 34 7d 0d 0d 58 6d | 69 6e 3d 31 3b 20 58 6d |6,4}..Xm|in=1; Xm|
|00000310| 61 78 3d 31 30 3b 0d 68 | 69 73 74 6f 67 72 61 6d |ax=10;.h|istogram|
|00000320| 28 61 2c 58 6d 69 6e 2c | 58 6d 61 78 2c 31 30 29 |(a,Xmin,|Xmax,10)|
|00000330| 3a 31 31 2e 30 30 30 0d | 70 6c 6f 74 6c 69 6e 65 |:11.000.|plotline|
|00000340| 20 62 69 6e 73 0d 6c 61 | 62 65 6c 20 6d 65 61 6e | bins.la|bel mean|
|00000350| 3a 33 2e 34 35 35 0d 00 | 00 01 00 00 00 03 05 00 |:3.455..|........|
|00000360| 00 02 05 00 00 00 3e 00 | 3b f2 50 06 fc 00 00 00 |......>.|;.P.....|
|00000370| 1c 00 32 00 00 54 45 58 | 54 00 00 00 0a 00 80 00 |..2..TEX|T.......|
|00000380| 00 00 00 00 00 00 3b f1 | 44 0b 68 69 73 74 6f 67 |......;.|D.histog|
|00000390| 72 61 6d 28 29 | |ram() | |
+--------+-------------------------+-------------------------+--------+--------+